<%@page language="java" contentType="text/html; charset=GBK"%>
<%@taglib prefix="decorator" uri="/sitemesh-decorator"%>
<%@ page import="com.zjht.gmcc.bean.util.MySession"%>
<%@ page import="com.zjht.gmcc.bean.util.MyFormat"%>
<%@ page import="com.zjht.gmcc.bean.util.MyConstant"%>
<decorator:usePage id="sitepage" />
<html>
	<head>
		<title><%String navigator=MySession.getNavigator(request);
				boolean hasNavigator=(navigator!=null&&navigator.length()>0);
				if(hasNavigator)
					out.print(navigator);
				String nav = sitepage.getTitle();
				//boolean needNavigator=true;
				String title="";
				if (nav != null&&nav.length()>0){
				    //needNavigator=(MyConstant.PAGE_NO_NAVIGATOR.equals(nav));
				    title=MyFormat.removeAllHTML(nav).trim();				
					if (title.length()>0){
						if(hasNavigator)
							out.print(" -&gt; ");
						out.print(title);
				      }
				}
			%></title>
		<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
		<base	target='_self' />
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link href="/css/main.css" rel="stylesheet" type="text/css" />
		<script language="javascript" src="/js/main.js"></script>
		<decorator:head />
	</head>
	<body <decorator:getProperty property="body.onload" writeEntireProperty="true" />>
	<div class="nav"><img src="/img/navigator.gif"> <% if(hasNavigator)
										out.print(navigator);
								   if (nav != null&&nav.length()>0){				
										if (title.length()>0&&hasNavigator)
												out.print(" -&gt;");
										out.print(" ");
										out.print(nav);
								   }%></div>
		<div style="vertical-align:top;height:100%"><decorator:body /></div>
	</body>
<script>
	var mydiv = document.getElementById("mydiv");
	try{
		if(document.body.clientHeight&&document.body.clientWidth&&mydiv){
			mydiv.style.height = document.body.clientHeight-mydiv.offsetTop-35;
			//mydiv.style.width = document.body.clientWidth-10;
		}
	}catch(e){
	}
	setTRBackground();
	showButton_CloseWin()
</script>
</html>